| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.justhis.lucene.xml.IndexFiles
create index from xml files
| Constructor Summary | |
IndexFiles()
 | 
|
| Method Summary | |
static void | 
addDocument(java.lang.String indexPath,
            java.lang.String filePath)
??????????????????  | 
static void | 
deleteDocument(java.lang.String indexPath,
               java.lang.String keyId)
??????????????????  | 
static void | 
indexDocs(org.apache.lucene.index.IndexWriter writer,
          java.io.File file)
??????????????  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public IndexFiles()
| Method Detail | 
public static void indexDocs(org.apache.lucene.index.IndexWriter writer,
                             java.io.File file)
                      throws javax.xml.parsers.ParserConfigurationException,
                             org.xml.sax.SAXException,
                             java.io.IOException
writer - lucene writerfile - ????????????
javax.xml.parsers.ParserConfigurationException - ??????xml??????????????????????
org.xml.sax.SAXException - ????sax????xml????????
java.io.IOException - ????????????????
public static void addDocument(java.lang.String indexPath,
                               java.lang.String filePath)
                        throws LuceneException
indexPath - ????????????????filePath - ????????
LuceneException - ??????????XML??????????????.
public static void deleteDocument(java.lang.String indexPath,
                                  java.lang.String keyId)
                           throws LuceneException
indexPath - ????????keyId - ?????? ??????????????????objectid??????????
LuceneException - ??????????????????IO????
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||